<ui:composition xmlns="http://www.w3.org/1999/xhtml"
 xmlns:h="http://java.sun.com/jsf/html"
 xmlns:f="http://java.sun.com/jsf/core"
 xmlns:ui="http://java.sun.com/jsf/facelets"
 xmlns:a4j="http://richfaces.org/a4j"
 xmlns:rich="http://richfaces.org/rich">

 <f:view>
 <h:head></h:head>
 <h:body>
    <rich:panel header="Lister les clients">

      <ul>
        <li>RichFaces is a component library for JSF and an advanced framework</li>
        <li>for easily integrating AJAX capabilities into business applications.</li>
     </ul>
        <rich:extendedDataTable value="" var="occ">
            <f:facet name="header">
                <rich:column>
                    <h:outputText value="ID"/>
                </rich:column>
                <rich:column>
                    <h:outputText value="Nom"/>
                </rich:column>
                <rich:column>
                    <h:outputText value="Prénom"/>
                </rich:column>
                <rich:column>
                    <h:outputText value="Adresse"/>
                </rich:column>
                <rich:column>
                    <h:outputText value="Telephone"/>
                </rich:column>
            </f:facet>
            <rich:column>
                    <h:outputText value="#{occ.id}"/>
                </rich:column>
                <rich:column>
                    <h:outputText value="#{occ.nom}"/>
                </rich:column>
                <rich:column>
                    <h:outputText value="#{occ.prenom}"/>
                </rich:column>
                <rich:column>
                    <h:outputText value="#{occ.adresse} #{occ.cp} #{occ.ville}"/>
                </rich:column>
                <rich:column>
                    <h:outputText value="#{occ.id}"/>
                </rich:column>
        </rich:extendedDataTable>
    </rich:panel>
  </h:body>
 </f:view>

</ui:composition>
